<?php


namespace controller;


use core\Db;

class IndexController
{
    public function indexAction()
    {
        echo 'easy framework!';
    }

    public function helloAction()
    {
//        echo 'this is Hello!';
        $res = Db::table('post')
            ->field('id,title,status')
            ->where('id < 36')
            ->find();
        var_dump($res);
    }
}